import Event from './utils/pubsub.js'

const BASE_SERVER_ADDRESS="127.0.0.1:8080/wx_course/"

App({
  onLaunch: function () {
    wx.event=new Event();
    
  },
  globalData: {
    userInfo: null,
    HOST_ADDRESS:"http://"+BASE_SERVER_ADDRESS,
    currentVideoInfo:[],
    WEB_SOCKET_ADDRESS:"ws://"+BASE_SERVER_ADDRESS+"/chat/"
  },

})